package com.zhiwang.planet.mvvm.viewmodel.entertain

import com.zhiwang.planet.ui.main.PlayGameProxy
import kotlin.random.Random

class GameItemViewModel constructor(var gameid: String, var gamename: String, var icon: String, var tags: List<String>, var cb: PlayGameProxy?) {


    val players = Random.nextInt(40000) + 3000

    fun play() {
        cb?.play(gameid)
    }
}